using UnityEngine;
using System;

namespace TCC.Framework
{
    [AttributeUsage(AttributeTargets.Field, AllowMultiple = false, Inherited = true)]
    public sealed class TableHeaderAttribute : PropertyAttribute
    {
        public string Name { get; private set; }

        /// <summary>
        /// 表头字段显示别称
        /// </summary>
        /// <param name="name">名称</param>
        public TableHeaderAttribute(string name)
        {
            Name = name;
        }
    }
}
